package com.promise.jokerdream.response.pc

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

// 斗豆红包商城回包
@Serializable
data class QueryRedEnvelopeStoreResponse(
    override val result: Int,
    override val msg: String = "",
    // 商品列表
    @SerialName("goods_info")
    val goodsInfo: List<RedEnvelopeGoods> = emptyList()
): BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}

@Serializable
data class RedEnvelopeGoods(
    // 索引
    @SerialName("real_index")
    val realIndex: Int = 0,
    // 商品名称
    @SerialName("goods_name")
    val goodsName: String = "",
    // 商品状态，0为未选购、2为已选购
    @SerialName("goods_status")
    val goodsStatus: Int = 0,
)
